<!--
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<div class="ddp-box-grid-detail" >
  <a href="javascript:" class="ddp-btn-close-s" (click)="closeBtn();"></a>
  <div class="ddp-data-detailinfo">
    <span class="ddp-data-name">{{dataset.dsName}}</span>
  </div>
  <!-- part -->
  <div class="ddp-wrap-datadetail">
    <table class="ddp-dl-detail">
      <colgroup>
        <col width="120px">
        <col width="*">
      </colgroup>
      <tbody>
      <tr *ngFor="let item of dsInformationList">
        <th>{{item.label}}</th>
        <td>
          {{item.value}}
        </td>
      </tr>
      </tbody>
    </table>
    <div class="ddp-wrap-datapreview" style="padding-bottom: 0;">
      <div *ngIf="clearGrid" class="ddp-box-preview" >
        <div class="ddp-ui-empty" >
          {{'msg.dp.ui.no.preview' | translate}}
        </div>
      </div>
      <div [hidden]="clearGrid" class="ddp-box-preview" grid-component></div>
    </div>
  </div>
</div>
